Jump to content

- PBXScript

- # PBXScript.ConvertToCanonical

  Followers 0

  VBScript → Lua

  This function converts a given extension into a full canonical number.

      PBXScript.ConvertToCanonical ( sExtension )

  This function returns a string value.

  Example:

      SwyxServer has the following configuration:

      Countrycode         49
      Areacode           231
      Subscribernumber  4777

  When calling PBXScript.ConvertToCanonical with the parameter "180" it will return "+492314777180".

  By Tom Wellige

  - May 16, 2022
  Share
  Share
  Followers 0

## Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.